﻿@model IEnumerable<Enter.Mvc.Mall.Model.Goods.Goods_ItemModel>
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style type="text/css">
        html
        {
            background-color: #F3F3F3;
            overflow: hidden;
        }
        
        body, legend
        {
            color: #404040;
        }
        body
        {
            font: 12px/1.5 Tahoma,Helvetica,Arial,sans-serif;
        }
        body, select, input, button, textarea
        {
            font-family: Tahoma,Helvetica,Arial,宋体;
        }
        #edit-num-SKU-iframe, #edit-price-SKU-iframe
        {
            background-color: transparent;
        }
        
        #edit-SKU-form p
        {
            height: auto;
            margin: 6px 0 6px 10px;
            overflow: auto;
        }
        #edit-SKU-form p.total-num
        {
            clear: both;
            margin-top: 20px;
        }
        #edit-SKU-form input.new-SKU-num, #edit-SKU-form input.new-SKU-price, #edit-SKU-form input.new-fix-price
        {
            border: 1px solid #CDCDCD;
            display: inline-block;
            float: right;
            height: 18px;
            margin-right: 20px;
            width: 54px;
        }
        #edit-price-SKU-iframe input.new-SKU-price, #edit-price-SKU-iframe input.new-fix-price
        {
            margin-right: 40px;
        }
        #edit-SKU-form .SKU-name
        {
            display: inline-block;
            float: right;
            height: 18px;
            text-align: right;
            width: auto;
        }
        #edit-SKU-form .total-num .SKU-name
        {
            color: #FF6600;
            font-weight: 700;
        }
    </style>
</head>
<body id="edit-price-SKU-iframe" style="width: 278px;">
    <div>
        <form id="edit-SKU-form" action="" target="_blank" autocomplete="off" name="edit-SKU-form">
        <p class="total-num">
            <input id="SKUId:0" class="new-fix-price" type="text" name="new-SKU-price" value="6.00">
            <label class="SKU-name" style="width: auto; height: 18px;">
                一口价：</label>
        </p>
        @if (Model != null)
        {
            foreach (Enter.Mvc.Mall.Model.Goods.Goods_ItemModel m in Model)
            {
            <p>
                <input id="SKUId: @m.ID" class="new-SKU-price" type="text" name="new-SKU-price"
                    value="@m.PRICE.ToString("f2")">
                <label class="SKU-name" style="width: auto; height: 18px;">
                    @if (string.IsNullOrEmpty(m.ColorName))
                    {
                        if (string.IsNullOrEmpty(m.SizeName))
                        {@m.ColorName}
                        else
                        {@m.ColorName @m.SizeName}
                    }
                    else
                    {
                        @m.ColorName
                    }
                    ：</label>
            </p>
            }
        }
        </form>
    </div>
</body>
</html>
